package cn.com.nes.mybatis.agent.crm.mapper;

import cn.com.nes.mybatis.agent.crm.entity.OpportunityEnergyType;
import cn.com.nes.site.service.crm.opportunity.bo.OpportunityEnergyTypeBo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author yishuai
* @description 针对表【opportunity_energy_types(商务项目的能源类型范围表)】的数据库操作Mapper
* @createDate 2024-10-08 14:27:24
* @Entity cn.com.nes.mybatis.agent.crm.entity.OpportunityEnergyTypes
*/
public interface OpportunityEnergyTypeMapper extends BaseMapper<OpportunityEnergyType> {

    void deleteByOpportunityUuid(@Param("bo") OpportunityEnergyTypeBo opportunityEnergyTypeBo);


    List<OpportunityEnergyType> getEnergyTypesByOpportunityUuid(@Param("opportunityUuid") String opportunityUuid);

}




